Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: make custom exceptions immutable #111

Merged
merged 1 commit into from
Jan 27, 2024
Merged

feat!: make custom exceptions immutable #111

merged 1 commit into from
Jan 27, 2024

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Jan 27, 2024

This PR applies the immutable annotation to the DartWotException base class for custom exceptions, while applying the const modifier for custom exceptions where possible.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (89fe292) 65.88% compared to head (9030dd6) 65.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   65.88%   65.79%   -0.09%     
==========================================
  Files          74       74              
  Lines        2389     2383       -6     
==========================================
- Hits         1574     1568       -6     
  Misses        815      815              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JKRhb JKRhb merged commit 0badb0b into main Jan 27, 2024
4 checks passed
@JKRhb JKRhb deleted the immutable-exceptions branch January 27, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants